Original: Http://www.codeproject.com/Articles/633/Introduction-to-COM-What-It-Is-and-How-to-Use-ItThe purpose of this article is to provide programming guidance to programmers who have just contacted COM and to help them understand the basic concepts of
). After reading this article, you will be able to learn how to use the built-in components in the Windows operating system and the COM objects provided by third parties.This document assumes that you are proficient in the C ++ language. In the example code, we use a bit of MFC and ATL. If you are not familiar with MFC and ATL, this article will thoroughly explain these codes. This article includes the following parts:
What is COM?The so-called COM (Componet Object Model, Component Object Model) is a specification that describes how to establish dynamically changing components. This SPECIFICATION provides a way to ensure interoperability, some binary and network standards that customers an
operating system and the COM objects provided by third parties.
This article assumes that you are proficient in C + + language. MFC and ATL are used in the example code, and if you are unfamiliar with MFC and ATL, this article will explain the code in a complete and thorough light.
This article includes the following sections:
What the hell is
What is an interface?
When it comes to COM, you have to say interface; In the process of COM development, it can be said that I have been dealing with a variety of interfaces. What's the interface? For COM, an interface is a memo
Com is the abbreviation of Component Object Model.
What kind of software products do users need? This is a multi-choice question, but it is highly efficient and robust. How can a software developer meet users' needs? Ensure that the backward compatibility with previ
Com is the abbreviation of Component Object Model.
What kind of software products do users need? This is a multi-choice question, but it is highly efficient and robust. How can a software developer meet users' needs? Upgrade is
What is a COM component?What kind of software products do users need? This is a multi-choice question, but it is highly efficient and robust. How can a software developer meet users' needs? Ensure that the backward compatibility w
What is com?The so-called COM (componet object model, Component Object Model) is a specification that describes how to establish dynamically changing components. This SPECIFICATION provides a way to ensure interoperability, some binary and network standards that customers an
What is com?The so-called COM (componet object model, Component Object Model) is a specification that describes how to establish dynamically changing components. This SPECIFICATION provides a way to ensure interoperability, some binary and network standards that customers an
What is a component?
A component is similar to a micro application, which is already compiled, linked, and ready to use, and the application is packaged with multiple such components. Custom components can be connected to other components at run time to form an application.
1. What is COMCOM (Component component Obiect object model), is a set of language-independent, binary, object-oriented, reusable component specifications..2.COM objectsIn the COM specification, there is no strict definition of
Just now I went online and found another beautiful article with all the images. That's great...
What theoretical knowledge of COM must be mastered when using VC for COM programming?
I have seen a lot of people learn about com. After reading a book, I feel that I have a better understanding of the principles of
Yesterday saw the first chapter of "com Essence", "com is a better C + +", feel it is necessary to do some notes, so organized into this article, I believe you deserve to have.The main content of this article is: A class faststring that implements the fast lookup function, w
Yesterday read the first chapter of the "COM Essence", "com is a better C + +", think it is necessary to do some notes, so organized into this article. I believe you deserve it.The main content of this article is: a high-speed lookup function of the class faststring, after a
Construct a minimum framework structure for creating COM components, and then take a look at the internal processing process.
Iunknown * punk = NULL;Iobject * pobject = NULL;Coinitialize (null );Cocreateinstance (clsid_object, clsctx_inproc_server, null, iid_iunknown, (void **) punk );Punk-> QueryInterface (iid_iojbect, (void **) pobject );Punk-> release ();Pobject-> func ();Pobject-> release ();Couninitialize ();
This
the new trademark name. ActiveX refers to a loosely defined and com-based technology set, while Ole still only refers to composite documents. Of course, the core technology of ActiveX is com. The biggest difference between ActiveX and Ole is that ole is aimed at the integra
course, ActiveX is still the core technology com . the biggest difference between ActiveX and OLE is that, OLE is designed for the integration of application software and files on the desktop, ActiveX focuses on providing further network applications and user interaction. At this point, you should consider
* This document is selected from: Visual C ++/mfc Development Guide.
Our dream is to use com to recreate our software -- Xiangjia keywords: com Ole Active X container automation Controle iunknown idispatch self_contained class factory dcom com + mts msmq an applic
current DLL file, which is equivalent to the function address. When the DLL file is mapped to the virtual memory space of the loading process, the thread can jump to the DLL export function entry to execute the export function code according to the relative virtual address in the export section. In this case, the exported function code is reused.In the above imp
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.